package com.yunyike.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.yunyike.dto.QuotationDTO;
import com.yunyike.model.Quotation;
import com.yunyike.utils.mybatis.PageBean;


public interface QuotationService {
	
	public int deleteByPrimaryKey(String quotationId);

	public int addQuotation(MultipartFile[] attachs, String fileUploadDirectory, Quotation record, String [] brand);

	public int insertSelective(Quotation record);

	public Quotation selectByPrimaryKey(String quotationId);

	public int updateByPrimaryKeySelective(Quotation record);

	public int updateByPrimaryKey(Quotation record);
	
	public List<Quotation> findAllQuotation();
	
	public PageBean<QuotationDTO> findQuotationByCondition(PageBean<QuotationDTO> pageBean);
}
